package com.digitalchina.lxnsy.entity;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.io.Serializable;
import java.util.List;

/**
 * ================================================
 * 项目名称：BigData
 * 类描述：
 * 包名：com.digitalchina.bigdata.entity
 * 创建人：郑皓
 * 创建时间：2017/7/19 20:07
 * 修改备注：
 * ================================================
 */
public class ExpertClassificationVO implements Serializable ,IPickerViewData{

    /**
     * name : 1级分类B
     * code : 002
     * researchFieldTwoStages : [{"name":"子分类222","code":"001002","researchFieldThreeStageVos":[{"name":"3级分类BBB","code":"001001002"},{"name":"3级分类AAA","code":"001001001"}],"researchDirectionVos":[{"name":"3级专业分类2222","code":"00100102"},{"name":"3级专业分类1111","code":"00100101"}]},{"name":"子分类111","code":"001001","researchFieldThreeStageVos":[{"name":"啊撒旦撒旦","code":"001001003"},{"name":"fasfsafsaf","code":"001001004"}],"researchDirectionVos":[{"name":"3333gdsgdsg","code":"00100104"},{"name":"333313213213","code":"00100103"}]}]
     */

    private String name;
    private String code;
    private List<ResearchFieldTwoStagesBean> researchFieldTwoStages;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<ResearchFieldTwoStagesBean> getResearchFieldTwoStages() {
        return researchFieldTwoStages;
    }

    public void setResearchFieldTwoStages(List<ResearchFieldTwoStagesBean> researchFieldTwoStages) {
        this.researchFieldTwoStages = researchFieldTwoStages;
    }

    @Override
    public String getPickerViewText() {
        return name;
    }

    public static class ResearchFieldTwoStagesBean implements Serializable ,IPickerViewData {
        /**
         * name : 子分类222
         * code : 001002
         * researchFieldThreeStageVos : [{"name":"3级分类BBB","code":"001001002"},{"name":"3级分类AAA","code":"001001001"}]
         * researchDirectionVos : [{"name":"3级专业分类2222","code":"00100102"},{"name":"3级专业分类1111","code":"00100101"}]
         */

        private String name;
        private String code;
        private String unitName;

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }

        private List<ResearchFieldThreeStageVosBean> researchFieldThreeStageVos;
        private List<ResearchDirectionVosBean> researchDirectionVos;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public List<ResearchFieldThreeStageVosBean> getResearchFieldThreeStageVos() {
            return researchFieldThreeStageVos;
        }

        public void setResearchFieldThreeStageVos(List<ResearchFieldThreeStageVosBean> researchFieldThreeStageVos) {
            this.researchFieldThreeStageVos = researchFieldThreeStageVos;
        }

        public List<ResearchDirectionVosBean> getResearchDirectionVos() {
            return researchDirectionVos;
        }

        public void setResearchDirectionVos(List<ResearchDirectionVosBean> researchDirectionVos) {
            this.researchDirectionVos = researchDirectionVos;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }

        public static class ResearchFieldThreeStageVosBean implements Serializable ,IPickerViewData {
            /**
             * name : 3级分类BBB
             * code : 001001002
             */

            private String name;
            private String code;
            private String pCde;

            public String getpCde() {
                return pCde;
            }

            public void setpCde(String pCde) {
                this.pCde = pCde;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            @Override
            public String getPickerViewText() {
                return name;
            }
        }

        public static class ResearchDirectionVosBean implements Serializable ,IPickerViewData {
            /**
             * name : 3级专业分类2222
             * code : 00100102
             */

            private String name;
            private String code;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            @Override
            public String getPickerViewText() {
                return name;
            }
        }
    }
}
